<%@ Page language="c#" Inherits="hemsidan.change.ManageGalleries" CodeFile="ManageGalleries.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD runat="server">
		<title>ManageGalleries</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<asp:Label ID="lblMappedGalleryRoot" Runat="server"></asp:Label>
			<asp:DataGrid id="myDgGalleries" runat="server" DataKeyField="Id" AutoGenerateColumns="False"
				Width="528px" GridLines="None">
				<HeaderStyle CssClass="dgHeader"></HeaderStyle>
				<Columns>
					<asp:BoundColumn DataField="Name" HeaderText="Namn"></asp:BoundColumn>
					<asp:BoundColumn DataField="Comment" HeaderText="Beskrivning"></asp:BoundColumn>
					<asp:BoundColumn DataField="Created" HeaderText="Skapad"></asp:BoundColumn>
					<asp:ButtonColumn Text="&#196;ndra" CommandName="EditMeta"></asp:ButtonColumn>
					<asp:ButtonColumn Text="Ta bort" CommandName="Delete"></asp:ButtonColumn>
				</Columns>
			</asp:DataGrid>
			<table>
				<tr>
					<td>Namn:</td>
					<td><asp:TextBox id="txtName" runat="server"></asp:TextBox></td>
				</tr>
				<tr>
					<td valign="top">
						Beskrivning:<br>
						(max 255 tecken)
					</td>
					<td><asp:TextBox id="txtDescription" runat="server" TextMode="MultiLine" Width="232px"></asp:TextBox></td>
				</tr>
				<tr>
					<td>Zip med foton:</td>
					<td><INPUT id="flZip" type="file" name="File1" runat="server"></td>
				</tr>
				<tr>
					<td colspan="2" align="right">
						<asp:TextBox id="txtId" runat="server" Visible="False">0</asp:TextBox>
						<asp:Button id="btnCancel" runat="server" Text="Cancel"></asp:Button>
						<asp:Button id="btnSave" runat="server" Text="Spar" onclick="btnSave_Click"></asp:Button>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
